package fr.greta.centre.metier;

import java.sql.Date;

public class Audit {
	private int idAudit;
	private int idCandidat;
	private int idPromotion;
	private int idAncienEtat;
	private int idNouvelEtat;
	private Date dateEvenement;
	private String typeEvenement;
	
	
	public Audit(int idAudit, int idCandidat, int idPromotion,
			int idAncienEtat, int idNouvelEtat, Date dateEvenement,
			String typeEvenement) {
		super();
		this.idAudit = idAudit;
		this.idCandidat = idCandidat;
		this.idPromotion = idPromotion;
		this.idAncienEtat = idAncienEtat;
		this.idNouvelEtat = idNouvelEtat;
		this.dateEvenement = dateEvenement;
		this.typeEvenement = typeEvenement;
	}
	
	
	public Audit() {
		
	}


	public int getIdAudit() {
		return idAudit;
	}
	public void setIdAudit(int idAudit) {
		this.idAudit = idAudit;
	}
	public int getIdCandidat() {
		return idCandidat;
	}
	public void setIdCandidat(int idCandidat) {
		this.idCandidat = idCandidat;
	}
	public int getIdPromotion() {
		return idPromotion;
	}
	public void setIdPromotion(int idPromotion) {
		this.idPromotion = idPromotion;
	}
	public int getIdAncienEtat() {
		return idAncienEtat;
	}
	public void setIdAncienEtat(int idAncienEtat) {
		this.idAncienEtat = idAncienEtat;
	}
	public int getIdNouvelEtat() {
		return idNouvelEtat;
	}
	public void setIdNouvelEtat(int idNouvelEtat) {
		this.idNouvelEtat = idNouvelEtat;
	}
	public Date getDateEvenement() {
		return dateEvenement;
	}
	public void setDateEvenement(Date dateEvenement) {
		this.dateEvenement = dateEvenement;
	}
	public String getTypeEvenement() {
		return typeEvenement;
	}
	public void setTypeEvenement(String typeEvenement) {
		this.typeEvenement = typeEvenement;
	}
	
	
	
	@Override
	public String toString() {
		return "Audit [idAudit=" + idAudit + ", idCandidat=" + idCandidat
				+ ", idPromotion=" + idPromotion + ", idAncienEtat="
				+ idAncienEtat + ", idNouvelEtat=" + idNouvelEtat
				+ ", dateEvenement=" + dateEvenement + ", typeEvenement="
				+ typeEvenement + "]";
	}
	
}
